<?php
/*
	员工发送信息
*/
defined('BY_JYA') or exit('error');
list($msgtype,$newsmsg,$tpldata,$uid,$url,$color,$store_id)=$arguments;
$staff=pdo_getall('jy_dish_staff',array('uniacid'=>$_SESSION['uniacid'],'store_id'=>$store_id,'status'=>1),'mid');
if($staff){
			foreach($staff as $s){
					$this->send_message($msgtype,$newsmsg,$tpldata,$s['mid'],$url,$color);
			}
}

